#pragma once
#include <vector>
#include <mutex>
#include <string>
#include "MyConn.h"
class MyConnPool
{
public:
	MyConnPool();
	~MyConnPool();

	std::vector<MyConn> m_vec;
	std::mutex mtx;
	void Add(int conn);
	std::vector<MyConn> Get();
	void Set(std::vector<MyConn> v);
	void deDuplicatio(std::string dev_name);

};

